package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.WxrkdProductBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface WxrkdProductService extends BaseService<WxrkdProductBean> {

	WxrkdProductBean getWxrkdProductBeanById(String id) throws Exception;
	
	void removeWxrkdProductBeanById(String id) throws Exception;
	
	void removeWxrkdProductBeanByIds(String ids) throws Exception;
	
	WxrkdProductBean saveWxrkdProductBean(WxrkdProductBean crm) throws Exception;
	
	WxrkdProductBean updateWxrkdProductBean(WxrkdProductBean crm) throws Exception;
	
	Page<WxrkdProductBean>  findWxrkdProductBeanByCond(WxrkdProductBean bean,
			Page<WxrkdProductBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveWxrkdProductBeanExt(String sql) throws Exception;

	String findWxrkdProductBeanExtCreate(String tableName) throws Exception;

	String findWxrkdProductBeanExtEdit(String tableName, String id)
			throws Exception;

	String findWxrkdProductBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasWxrkdProductBeanExtData(String tableName, String id)
			throws Exception;
}